package com.test.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.test.pojo.MapBoxVectorTileVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

@Mapper
public interface MapBoxVectorTileMapper extends BaseMapper<com.test.pojo.MapBoxVectorTileVO> {
    @Select("select *,row_number() OVER (ORDER BY tile DESC ) as num from vector_tile(${z},${x},${y},'${Tname}')")
    List<MapBoxVectorTileVO> vectorTitle(Integer z, Integer x, Integer y, String Tname);
}
